import sys

require_args= ['-task_type','-task_id','-expire','-uid']
print(sys.argv[1:])
lack_args = [arg for arg in require_args if arg not in sys.argv[1:]]
print (lack_args)

print (sys.argv.index('-task_type'))
print (sys.argv[sys.argv.index('-task_type')+1])



